package com.yq.ylmall.vo.product;

import com.yq.ylmall.enums.product.ProductCheck;
import com.yq.ylmall.enums.product.ProductStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "商品分页查询返回")
public class ProductPageVo {

    @ApiModelProperty(value = "商品ID")
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "权重排序")
    private Integer sort;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "一级分类")
    private String category1;

    @ApiModelProperty(value = "二级分类")
    private String category2;

    @ApiModelProperty(value = "三级分类")
    private String category3;

    @ApiModelProperty(value = "计量单位")
    private String unitName;

    @ApiModelProperty(value = "商品规格ID")
    private Long specValueId;

    @ApiModelProperty(value = "线上状态：0-初始值，1-上架，-1-自主下架")
    private ProductStatus status;

    @ApiModelProperty(value = "审核状态：0-初始值，1-通过，-1-未通过")
    private ProductCheck auditStatus;

    @ApiModelProperty(value = "商品轮播图")
    private String sliderUrls;

}
